Add CI to build wheels and deploy using cibuildwheel#33
Merged
Conversation
Co-authored-by: tmolteno <85630+tmolteno@users.noreply.github.com>
Co-authored-by: tmolteno <85630+tmolteno@users.noreply.github.com>
Co-authored-by: tmolteno <85630+tmolteno@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add CI for building wheels and deployment
Add CI to build wheels and deploy using cibuildwheel
Jan 5, 2026
tmolteno
requested changes
Jan 5, 2026
Owner
tmolteno
left a comment
There was a problem hiding this comment.
This should be split into two yaml files. One for necpp. The other for PyNEC.
Co-authored-by: tmolteno <85630+tmolteno@users.noreply.github.com>
Contributor
Author
Split into two separate workflow files in commit e52dd4f:
Each workflow now independently manages its package's build, test, and deployment pipeline. |
Owner
|
Closes #33 |
Owner
|
Closes #32 too |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements automated wheel building and PyPI deployment following the cibuildwheel deployment pattern.
Changes
.github/workflows/build-pynec-wheels.yml: GitHub Actions workflow for PyNEC package with three jobs:build_wheels: Builds wheels for PyNEC on Linux x86_64, macOS Intel, and macOS ARM for Python 3.9-3.12build_sdist: Builds source distribution for PyNECupload_pypi: Deploys to PyPI on release publications using trusted publishing (OIDC).github/workflows/build-necpp-wheels.yml: GitHub Actions workflow for necpp package with three jobs:build_wheels: Builds wheels for necpp on Linux x86_64, macOS Intel, and macOS ARM for Python 3.9-3.12build_sdist: Builds source distribution for necppupload_pypi: Deploys to PyPI on release publications using trusted publishing (OIDC)necpp/pyproject.toml: Adds modern build system configuration (PyNEC already had one)Build Pipeline
Each workflow independently handles the complex build requirements:
make -f Makefile.git && ./configure --without-lapack)Benefits of Separate Workflows
Prerequisites for Deployment
Configure the
pypienvironment in repository settings and set up PyPI trusted publishing before the first release. Each workflow can be manually triggered independently via Actions tab for testing.Scope Limitations
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.